# Maintainer:
pkgname=py3-objgraph
pkgver=3.6.1
pkgrel=1
pkgdesc="Visually explore Python object graphs"
url="https://github.com/mgedmin/objgraph"
arch="noarch"
license="MIT"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mgedmin/objgraph/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/objgraph-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest discover
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
619be7a56add7e1ddf3edce4d153bc3592af85c36d6ef03c443a5150f35cce593eac3e50cb98384c2834059594e12fa2a236a89ee3dd0dd4ef385932bfb1da2f  py3-objgraph-3.6.1.tar.gz
"
